<template>
  <div class="home">
    <h2>child-app1/home</h2>

    <el-button @click="goto">child-app2/home</el-button>
  </div>
</template>

<script>
// @ is an alias to /src

export default {
  name: 'HomeView',
  methods:{
    goto(){
      console.log(this.$rootRouter);
      this.$rootRouter.push('/child-app2/home')
    }
  }
}
</script>
